]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
15 years agoUpdated Telugu Translation
Praveen Illa [Fri, 21 Oct 2011 05:15:20 +0000 (10:45 +0530)]
Updated Telugu Translation

15 years agoUpdated Telugu Translation
Praveen Illa [Fri, 21 Oct 2011 05:08:51 +0000 (10:38 +0530)]
Updated Telugu Translation

15 years agognome-shell-extension-tool: Add facilities to enable/disable extensions
Jasper St. Pierre [Sun, 16 Oct 2011 18:24:20 +0000 (14:24 -0400)]
gnome-shell-extension-tool: Add facilities to enable/disable extensions

https://bugzilla.gnome.org/show_bug.cgi?id=661815

15 years agoextensionSystem: Rebase the extension order list to help prevent conflicts
Jasper St. Pierre [Fri, 14 Oct 2011 22:06:03 +0000 (18:06 -0400)]
extensionSystem: Rebase the extension order list to help prevent conflicts

When two extensions monkey-patch the same area, enable() and disable() may
behave badly and completely wreck things. To solve this, when disabling
an extension, "rebase" the extension list so that monkey patches should be
added and removed in order.

https://bugzilla.gnome.org/show_bug.cgi?id=661815

15 years agoextensionSystem: Only load importers for enabled extensions
Jasper St. Pierre [Fri, 14 Oct 2011 21:58:23 +0000 (17:58 -0400)]
extensionSystem: Only load importers for enabled extensions

Rather than loading and enabling all extensions at Shell init time, save some
time and gain some basic security by not loading extensions if they're
not enabled.

https://bugzilla.gnome.org/show_bug.cgi?id=661815

15 years agouser-menu: Add missing semi-colons
Florian Müllner [Thu, 20 Oct 2011 20:54:41 +0000 (22:54 +0200)]
user-menu: Add missing semi-colons

15 years agodocs: Allow building API documentation
Florian Müllner [Wed, 7 Sep 2011 18:23:28 +0000 (20:23 +0200)]
docs: Allow building API documentation

As extensions.gnome.org starts to shape up, we should allow to
build the API documentation for St/Shell.

https://bugzilla.gnome.org/show_bug.cgi?id=661045

15 years agouser-menu: Minor style fix
Florian Müllner [Thu, 20 Oct 2011 20:44:09 +0000 (22:44 +0200)]
user-menu: Minor style fix

Use cameCase for properties/methods defined in JS and under_score
for properties/methods imported from C.

15 years agoSmall coding style fixes
Adel Gadllah [Thu, 20 Oct 2011 20:40:22 +0000 (22:40 +0200)]
Small coding style fixes

15 years agoMinor documentation fixes
Jasper St. Pierre [Tue, 18 Oct 2011 02:09:48 +0000 (22:09 -0400)]
Minor documentation fixes

15 years agognome-shell-extension-tool: Use xdg-open
Jasper St. Pierre [Thu, 20 Oct 2011 16:48:40 +0000 (12:48 -0400)]
gnome-shell-extension-tool: Use xdg-open

gnome-open is deprecated

15 years agognome-shell-extension-tool: Fix error after creating extension
Jasper St. Pierre [Thu, 13 Oct 2011 04:46:46 +0000 (00:46 -0400)]
gnome-shell-extension-tool: Fix error after creating extension

Commit 7a8a00c7057d56350d4b5509cefd812a67d4b7d7 cleaned up the code to move all
files to a dictionary, which accidentally left an undefined "extensionjs_path"
error. Fix that error.

https://bugzilla.gnome.org/show_bug.cgi?id=661623

15 years agost-texture-cache: Rearrange code to prevent some work and a memory leak
Jasper St. Pierre [Wed, 19 Oct 2011 01:52:46 +0000 (21:52 -0400)]
st-texture-cache: Rearrange code to prevent some work and a memory leak

For some reason, the texture cache decides to make a request and then look up
an icon in the icon theme. If it's valid, it just returns, fine, but if it
doesn't add the icon, it tries to undo the request, leaking an
AsyncTextureLoadData that isn't freed in the process.

https://bugzilla.gnome.org/show_bug.cgi?id=660968

15 years agost-texture-cache: Merge strategies
Jasper St. Pierre [Wed, 5 Oct 2011 09:00:23 +0000 (05:00 -0400)]
st-texture-cache: Merge strategies

Rather than have five or six structs allocated duplicating data,
just keep one and simplify the code considerably.

Again, part of my ongoing quest to merge St and Mx.

https://bugzilla.gnome.org/show_bug.cgi?id=660968

15 years agoIMStatusChooserItem: clean up signal handlers on destroy()
Giovanni Campagna [Mon, 17 Oct 2011 13:18:25 +0000 (15:18 +0200)]
IMStatusChooserItem: clean up signal handlers on destroy()

Extensions (like alternative-status-menu) expect that calling
destroy() on a menu item will not leave signal handlers around.

https://bugzilla.gnome.org/show_bug.cgi?id=660520

15 years agoglobal: drop incorrect memset
Ray Strode [Wed, 19 Oct 2011 20:21:59 +0000 (16:21 -0400)]
global: drop incorrect memset

shell_global_get_memory_info tries to zero initialize the output
parameter with memset, but it passes the wrong size (because of
a missing *).  There's no reason to do the memset, though. In the
normal case all members of the struct gets initialized before the
function returns anyway.

This commit drops the memset call in favor of one explicit 0 assignment
that only gets executed on on atypical platforms.

https://bugzilla.gnome.org/show_bug.cgi?id=662236

15 years agoglobal: add missing break statement
Ray Strode [Wed, 19 Oct 2011 20:13:06 +0000 (16:13 -0400)]
global: add missing break statement

Just a drive by fix.

https://bugzilla.gnome.org/show_bug.cgi?id=662235

15 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Wed, 19 Oct 2011 20:42:59 +0000 (22:42 +0200)]
Updated Norwegian bokmål translation

15 years agoutil: don't depend on the nautilus GSettings schema
Cosimo Cecchi [Fri, 23 Sep 2011 01:39:32 +0000 (21:39 -0400)]
util: don't depend on the nautilus GSettings schema

Without the desktop, even Nautilus hardcodes "Home" in all places
nowadays (except for the desktop itself). I think a run-time dependency
on nautilus being installed (GSettings will abort if the schema is not
found) is not worth it to keep compatibility with the desktop.

(Also, nautilus itself could probably hardcode "Home" for the desktop as
well and remove the preference).

https://bugzilla.gnome.org/show_bug.cgi?id=659895

15 years agost-texture-cache: Use ANSI C-style comments
Jasper St. Pierre [Wed, 19 Oct 2011 01:21:10 +0000 (21:21 -0400)]
st-texture-cache: Use ANSI C-style comments

https://bugzilla.gnome.org/show_bug.cgi?id=660968

15 years agoUpdated Vietnamese translation
Nguyễn Thái Ngọc Duy [Wed, 19 Oct 2011 08:39:27 +0000 (19:39 +1100)]
Updated Vietnamese translation

15 years agopo/vi: import from Damned Lies
Nguyễn Thái Ngọc Duy [Wed, 19 Oct 2011 08:38:35 +0000 (19:38 +1100)]
po/vi: import from Damned Lies

15 years agobuild: Switch to glib master
Adel Gadllah [Tue, 18 Oct 2011 21:39:05 +0000 (23:39 +0200)]
build: Switch to glib master

15 years agoconfigure: Bump glib requirement
Florian Müllner [Tue, 18 Oct 2011 21:42:40 +0000 (23:42 +0200)]
configure: Bump glib requirement

Commit 338ba10ca2 uses unstable API, so adjust the required min version.

15 years agoDrop deprecated g_thread_init call
Jasper St. Pierre [Mon, 17 Oct 2011 15:20:34 +0000 (11:20 -0400)]
Drop deprecated g_thread_init call

GThread will automatically initialize at program start now.

https://bugzilla.gnome.org/show_bug.cgi?id=662011

15 years agoshell-recorder-src: Statically init mutexes instead of using the deprecated API
Jasper St. Pierre [Mon, 17 Oct 2011 15:03:29 +0000 (11:03 -0400)]
shell-recorder-src: Statically init mutexes instead of using the deprecated API

https://bugzilla.gnome.org/show_bug.cgi?id=662011

15 years agoPlacesManager: fix .gtk-bookmarks monitor scope
Stefan 'psYchotic' Zwanenburg [Sun, 16 Oct 2011 16:30:13 +0000 (18:30 +0200)]
PlacesManager: fix .gtk-bookmarks monitor scope

The GFileMonitor on ~/.gtk-bookmarks was block-scoped in the
PlacesManager._init() function, which caused it to be destroyed as soon
as the constructor was done. This caused changes in bookmarks to never
be notified to possible watchers (such as the places-menu extension).
To fix this, the 'monitor' variable has been promoted to an object
instance member.

https://bugzilla.gnome.org/show_bug.cgi?id=661921

15 years agolookingGlass: Add an easier way to see extension errors
Jasper St. Pierre [Fri, 30 Sep 2011 07:58:44 +0000 (03:58 -0400)]
lookingGlass: Add an easier way to see extension errors

Use the extensions tab to show errors belonging to each extension.

https://bugzilla.gnome.org/show_bug.cgi?id=660546

15 years agoUpdated Spanish translation
Daniel Mustieles [Tue, 18 Oct 2011 14:13:19 +0000 (16:13 +0200)]
Updated Spanish translation

15 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Tue, 18 Oct 2011 05:48:09 +0000 (07:48 +0200)]
Updated Norwegian bokmål translation

15 years agoBump version to 3.2.1
Owen W. Taylor [Tue, 18 Oct 2011 02:57:04 +0000 (22:57 -0400)]
Bump version to 3.2.1

Update NEWS

15 years agoRequire Mutter 3.2.1
Owen W. Taylor [Tue, 18 Oct 2011 02:57:33 +0000 (22:57 -0400)]
Require Mutter 3.2.1

This is needed for meta_display_unmanage_screen()

15 years agomessageTray: Add banner body when setting the image for a notification
Jasper St. Pierre [Sat, 8 Oct 2011 21:55:21 +0000 (17:55 -0400)]
messageTray: Add banner body when setting the image for a notification

We always place the banner in the body if the notification has additional
content.

https://bugzilla.gnome.org/show_bug.cgi?id=659158

15 years agouser-menu: Be more cautious about saving status
Florian Müllner [Tue, 11 Oct 2011 19:53:29 +0000 (21:53 +0200)]
user-menu: Be more cautious about saving status

When requesting a presence change, the actual presence set by
mission control does not necessarily match the requested presence
(if an active account does not support the requested presence),
which may result in the wrong presence being restored.
As a fix, be more cautious about saving status by assuming that
users do not request presence changes between an automatic presence
change request and the actual change.

https://bugzilla.gnome.org/show_bug.cgi?id=661485

15 years agoUnmanage the screen before reexecing
Jasper St. Pierre [Mon, 17 Oct 2011 19:19:46 +0000 (15:19 -0400)]
Unmanage the screen before reexecing

This ensures a 'clean shutdown' of mutter.

https://bugzilla.gnome.org/show_bug.cgi?id=660848

15 years agogdm: move focus to first item in list
Ray Strode [Mon, 17 Oct 2011 06:56:44 +0000 (02:56 -0400)]
gdm: move focus to first item in list

This allows the user to just hit when the user
list first comes up (in many cases).

https://bugzilla.gnome.org/show_bug.cgi?id=657996

15 years agoUpdated Galician translations
Fran Diéguez [Mon, 17 Oct 2011 22:05:07 +0000 (00:05 +0200)]
Updated Galician translations

15 years agonotificationDaemon: only display a large image if an icon is also specified
Marina Zhurakhinskaya [Mon, 17 Oct 2011 21:50:02 +0000 (17:50 -0400)]
notificationDaemon: only display a large image if an icon is also specified

Historically, when applications set "image-data" they expect it to show up
as an icon. So we display it as such if an icon is not specified with an
"app_icon" argument to Notify(). We also use "image-path" for an icon if
an icon is not specified.

We only display a large image specified with "image-data" or "image-path"
if an icon is also specified.

https://bugzilla.gnome.org/show_bug.cgi?id=659158

15 years agoUpdated Hungarian translation
Gabor Kelemen [Mon, 17 Oct 2011 21:44:33 +0000 (23:44 +0200)]
Updated Hungarian translation

15 years agogdm: don't clear bullets while authenticating
Ray Strode [Mon, 17 Oct 2011 05:51:02 +0000 (01:51 -0400)]
gdm: don't clear bullets while authenticating

Users don't expect the bullets they just typed into an entry
field to disappear as soon as they hit enter.

Instead, they want the dialog to become insensitive during the
authentication process, so that it's clear that what they typed
in is being processed.

https://bugzilla.gnome.org/show_bug.cgi?id=657894

15 years agocss: Style the capslock warning in password entries
Florian Müllner [Mon, 17 Oct 2011 20:06:31 +0000 (22:06 +0200)]
css: Style the capslock warning in password entries

https://bugzilla.gnome.org/show_bug.cgi?id=660806

15 years agost-entry: Display a capslock warning in password entries
Florian Müllner [Mon, 17 Oct 2011 20:01:58 +0000 (22:01 +0200)]
st-entry: Display a capslock warning in password entries

Implement the GtkEntry behavior of showing a warning icon when
capslock is turned on while entering hidden text.

https://bugzilla.gnome.org/show_bug.cgi?id=660806

15 years ago[l10n] Updated German translation
Paul Seyfert [Mon, 17 Oct 2011 20:07:46 +0000 (22:07 +0200)]
[l10n] Updated German translation

15 years agoUpdated Polish translation
Piotr Drąg [Mon, 17 Oct 2011 20:04:00 +0000 (22:04 +0200)]
Updated Polish translation

15 years agoUpdated POTFILES.in
Piotr Drąg [Mon, 17 Oct 2011 20:02:37 +0000 (22:02 +0200)]
Updated POTFILES.in

15 years agokeyboard: show the keyboard immediately when the user toggles it on
Dan Winship [Tue, 27 Sep 2011 19:11:12 +0000 (15:11 -0400)]
keyboard: show the keyboard immediately when the user toggles it on

Enabling the keyboard currently doesn't give much notification. Make
it so that the keyboard shows right away when it first gets turned on.

https://bugzilla.gnome.org/show_bug.cgi?id=659743

15 years agomessageTray: only set stage input mode when necessary
Ray Strode [Mon, 17 Oct 2011 03:45:37 +0000 (23:45 -0400)]
messageTray: only set stage input mode when necessary

The message tray focus grabbing code sets the stage input
mode to Shell.StageInputMode.FOCUSED when the overview is
not visible. This ensures the stage window's input
region gets reshaped to include the notification chrome,
and so that input events get delivered appropriately to
the notification that grabbed focus.

The message tray code never tries to restore the stage input
mode later. Instead, the code relies on the stage input
mode (and input region) getting reset to
shell.StageInputMode.NORMAL automatically when focus moves
back from the shell chrome to a window in the user's session.

It's not really correct to set the stage input mode based
on the overview's visibility, though. At the login screen,
even though no overview is visible, the stage input mode is
Shell.StageInputMode.FULLSCREEN which is sufficient
for the notification's needs,  Furthermore,
Shell.StageInputMode.FOCUSED is insufficient for the login
dialog's needs since the login dialog isn't considered
part of the shell's chrome and won't get included in the
stage input region.

This commit changes the message tray code to only set the
stage input mode if the current stage input mode isn't good enough,
rather than assuming the input mode isn't good enough just because
the overview is hidden.

https://bugzilla.gnome.org/show_bug.cgi?id=660919

15 years agoaltTab: fix app ordering in certain edge cases
Dan Winship [Thu, 14 Jul 2011 21:23:16 +0000 (17:23 -0400)]
altTab: fix app ordering in certain edge cases

Because we were sorting the Alt+Tab list by user_time rather than
stacking order / MRU, it was possible for the currently-focused window
to sometimes not be the first app in the list. Fix this by using
meta_display_get_tab_list() to get the proper MRU ordering of windows
on the current workspace, and then convert that to an ordered list of
apps.

https://bugzilla.gnome.org/show_bug.cgi?id=645026

15 years agogdm: add prelight to Not Listed? button
Ray Strode [Mon, 17 Oct 2011 04:43:12 +0000 (00:43 -0400)]
gdm: add prelight to Not Listed? button

The prelight makes it clearer that the button is
clickable, and makes it more consistent with other
clickable parts of the dialog.

https://bugzilla.gnome.org/show_bug.cgi?id=659763

15 years agoUpdated Japanese translation
Takayuki KUSANO [Mon, 17 Oct 2011 15:53:17 +0000 (00:53 +0900)]
Updated Japanese translation

15 years agodash: Add minor optimization to _adjustIconSize()
Florian Müllner [Tue, 20 Sep 2011 16:35:48 +0000 (18:35 +0200)]
dash: Add minor optimization to _adjustIconSize()

In case _adjustIconSize() is called while the the dash icons are
animating, some extra work is required to yield the expected result.
Skip those extra steps when the icons are not actually animating.

https://bugzilla.gnome.org/show_bug.cgi?id=649248

15 years agodash: Rework _adjustIconSize()
Florian Müllner [Tue, 20 Sep 2011 15:59:25 +0000 (17:59 +0200)]
dash: Rework _adjustIconSize()

The current code uses the dash's height and current icon size to
calculate the new icon size. However, the height does not correctly
relate to the icon size while the icons are animating, in which
case the resulting icon size may be wrong.
Rework the function to be independent from the actual icon sizes,
so that a correct size is calculated even when called during an
animation.

https://bugzilla.gnome.org/show_bug.cgi?id=649248

15 years agodash: Ignore hiding items in _adjustIconSize()
Florian Müllner [Mon, 19 Sep 2011 21:47:16 +0000 (23:47 +0200)]
dash: Ignore hiding items in _adjustIconSize()

Rather than relying on the caller to hide the remove target and
removed items before calling _adjustIconSize(), move that logic
into _adjustIconSize() itself.

https://bugzilla.gnome.org/show_bug.cgi?id=649248

15 years agoRevert "dash: Ignore hiding items in _adjustIconSize()"
Florian Müllner [Mon, 17 Oct 2011 14:00:13 +0000 (16:00 +0200)]
Revert "dash: Ignore hiding items in _adjustIconSize()"

Ooops, a patch got lost in rebase.

This reverts commit b07f9932db71dc0b62f041280685f742b7dee312.

15 years agoRevert "dash: Add minor optimization to _adjustIconSize()"
Florian Müllner [Mon, 17 Oct 2011 14:00:08 +0000 (16:00 +0200)]
Revert "dash: Add minor optimization to _adjustIconSize()"

Ooops, a patch got lost in rebase ...

This reverts commit 6d95e8b98874bed67bd895a505fd198a350a69cb.

15 years agodash: Add minor optimization to _adjustIconSize()
Florian Müllner [Tue, 20 Sep 2011 16:35:48 +0000 (18:35 +0200)]
dash: Add minor optimization to _adjustIconSize()

In case _adjustIconSize() is called while the the dash icons are
animating, some extra work is required to yield the expected result.
Skip those extra steps when the icons are not actually animating.

https://bugzilla.gnome.org/show_bug.cgi?id=649248

15 years agodash: Ignore hiding items in _adjustIconSize()
Florian Müllner [Mon, 19 Sep 2011 21:47:16 +0000 (23:47 +0200)]
dash: Ignore hiding items in _adjustIconSize()

Rather than relying on the caller to hide the remove target and
removed items before calling _adjustIconSize(), move that logic
into _adjustIconSize() itself.

https://bugzilla.gnome.org/show_bug.cgi?id=649248

15 years agoAdd context menus to some entries
Florian Müllner [Tue, 11 Oct 2011 22:38:24 +0000 (00:38 +0200)]
Add context menus to some entries

Use ShellEntry.addContextMenu() to add context menus to most
existing entries, with the exception of:

 - the login dialog - it may act be used to enter either the
                      username (e.g. no password entry) or the
                      password, and copy/paste does not make sense
                      (nowhere to copy from, nowhere to paste to)
 - notifications    - while adding a context menu is useful here as
                      well, it will require changes to the tray's
                      focus grab handling, so leave those entries
                      out for now

https://bugzilla.gnome.org/show_bug.cgi?id=659275

15 years agoshell-entry: Add API to support entry context menus
Florian Müllner [Wed, 14 Sep 2011 16:47:09 +0000 (18:47 +0200)]
shell-entry: Add API to support entry context menus

Add addContextMenu() to support context menus on right-click/long-press.
Depending on the parameters passed, the context menu only contains
"Copy"/"Paste" actions or an additional "Show/Hide Text" toggle action
for password entries.

https://bugzilla.gnome.org/show_bug.cgi?id=659275

15 years agonetwork-agent: Remove "Show password" switch
Florian Müllner [Thu, 8 Sep 2011 15:53:22 +0000 (17:53 +0200)]
network-agent: Remove "Show password" switch

While the ability to show the password can be useful at times,
the existing implementation is problematic:

  1) The use of a switch is wrong (as even noted in a code
     comment).

  2) It is inconsistent with any other password dialog (login screen,
     polkit).

In lack of a properly designed solution (for all password dialogs),
the designers agreed to remove the switch for now.

https://bugzilla.gnome.org/show_bug.cgi?id=658948

15 years agoFixed some strings in Brazilian Portuguese translation
Adorilson Bezerra [Mon, 17 Oct 2011 12:37:40 +0000 (10:37 -0200)]
Fixed some strings in Brazilian Portuguese translation

15 years agoadded Kurdish translation
Erdal Ronahi [Mon, 17 Oct 2011 11:39:02 +0000 (13:39 +0200)]
added Kurdish translation

15 years agoupdated Kurdish translation
Erdal Ronahi [Mon, 17 Oct 2011 11:38:39 +0000 (13:38 +0200)]
updated Kurdish translation

15 years agol10n: updated Italian translation
Luca Ferretti [Mon, 17 Oct 2011 08:31:24 +0000 (10:31 +0200)]
l10n: updated Italian translation

15 years agoextensionSystem: Load user extensions after system ones
Jasper St. Pierre [Fri, 14 Oct 2011 21:57:46 +0000 (17:57 -0400)]
extensionSystem: Load user extensions after system ones

https://bugzilla.gnome.org/show_bug.cgi?id=661815

15 years agoUpdated Korean translation
Changwoo Ryu [Sun, 16 Oct 2011 18:00:56 +0000 (03:00 +0900)]
Updated Korean translation

15 years agoUpdated French translation
Bruno Brouard [Sun, 16 Oct 2011 10:50:22 +0000 (12:50 +0200)]
Updated French translation

15 years agoUpdated Persian translations
Arash Mousavi [Sat, 15 Oct 2011 12:35:29 +0000 (16:05 +0330)]
Updated Persian translations

15 years agoUpdated Bulgarian translation
Ivaylo Valkov [Sat, 15 Oct 2011 07:43:14 +0000 (10:43 +0300)]
Updated Bulgarian translation

15 years agoUpdated Bulgarian translation
Alexander Shopov [Sat, 15 Oct 2011 07:00:14 +0000 (10:00 +0300)]
Updated Bulgarian translation

15 years agoUpdated British English translation
Bruce Cowan [Fri, 14 Oct 2011 18:12:28 +0000 (19:12 +0100)]
Updated British English translation

15 years agokeyboard: fix the keyboard hiding when an extended key is selected
Nohemi Fernandez [Tue, 11 Oct 2011 21:54:05 +0000 (17:54 -0400)]
keyboard: fix the keyboard hiding when an extended key is selected

Add a corner case for when the extended key is clicked in order to stop the keyboard
from prematurely closing.

https://bugzilla.gnome.org/show_bug.cgi?id=661707

15 years agoshell-app: Plug a small memory leak
Florian Müllner [Thu, 13 Oct 2011 20:02:50 +0000 (22:02 +0200)]
shell-app: Plug a small memory leak

15 years agost-texture-cache: Fix a minor crash when computing our border-radius
Jasper St. Pierre [Thu, 13 Oct 2011 01:15:36 +0000 (21:15 -0400)]
st-texture-cache: Fix a minor crash when computing our border-radius

If we add a 0-sized actor with a border-radius, we will crash as we try to
allocate a 0-sized texture in Cogl. Bail out early instead of doing that.

https://bugzilla.gnome.org/show_bug.cgi?id=661617

15 years agosearch: fix keyboard hiding when user starts a new search
Nohemi Fernandez [Sun, 9 Oct 2011 20:24:59 +0000 (16:24 -0400)]
search: fix keyboard hiding when user starts a new search

The keyboard hides prematurely when the user is typing into
an empty search box because the click is a captured event that
triggers a loss of entry focus. By adding a keyboard check to
this event, the problem is solved.

https://bugzilla.gnome.org/show_bug.cgi?id=661340

15 years agoshell-app: Remove MATCH_MULTIPLE_{PREFIX,SUFFIX}
Florian Müllner [Wed, 5 Oct 2011 23:07:29 +0000 (01:07 +0200)]
shell-app: Remove MATCH_MULTIPLE_{PREFIX,SUFFIX}

We originally OR'ed search terms and favored results which matched
multiple times to get more relevant results. When changing search
to AND search terms, the semantics of "multiple matches" were
changed to refer to a single term matching multiple criteria (name,
executable), which seemed like a good idea at the time.

However in practice this just results in applications whose
user-visible name matches the executable name on disk being
favored over applications using a more generic name, which
isn't too useful (in particular when taking usage frequency
into account).

https://bugzilla.gnome.org/show_bug.cgi?id=623372

15 years agoshell-app: Improve prefix matches
Florian Müllner [Wed, 5 Oct 2011 22:16:46 +0000 (00:16 +0200)]
shell-app: Improve prefix matches

Currently we use a very strict definition of "prefix", where the
search term has to match at the very beginning of the searched
criteria (application name, executable name). Use a more liberal
definition by including matches where the preceding character is
a space (application name) or hyphen (executable name) as well;
as many applications use a prefix, this should improve the quality
of results.

https://bugzilla.gnome.org/show_bug.cgi?id=623372

15 years agoapp-system: Consider usage frequency in search results
Florian Müllner [Wed, 5 Oct 2011 14:44:50 +0000 (16:44 +0200)]
app-system: Consider usage frequency in search results

Application search results are internally categorized in four sets,
multiple and single prefix matches and multiple and single substring
matches. Each set is currently sorted alphabetically by application
name when concatenating the sets to the final result.
Change the last step to sort each set by usage frequency instead,
which is more likely to favor the most relevant match than
"arbitrary" alphabetic order.

https://bugzilla.gnome.org/show_bug.cgi?id=623372

15 years agopopup-menu: Allow adjusting where in the source the arrow points to
Florian Müllner [Wed, 14 Sep 2011 22:14:03 +0000 (00:14 +0200)]
popup-menu: Allow adjusting where in the source the arrow points to

Currently BoxPointer/Menus always point to the center of the
associated source actor. This is generally what we want, but
add some API to adjust that behavior for the cases where it
isn't.

https://bugzilla.gnome.org/show_bug.cgi?id=659274

15 years agogdm: clean up spacing
Ray Strode [Tue, 11 Oct 2011 17:34:04 +0000 (13:34 -0400)]
gdm: clean up spacing

There's a lot of dead vertical space right now from
the session list, even if there are no sessions.

This commit mops that up.

https://bugzilla.gnome.org/show_bug.cgi?id=661479

15 years agogdm: don't show fingerprint message right away
Ray Strode [Tue, 11 Oct 2011 17:12:18 +0000 (13:12 -0400)]
gdm: don't show fingerprint message right away

Right now we show "(or swipe finger)" at the user login prompt
any time we detect a fingerprint reader.

Checking for the presense of a fingerprint reader isn't really
sufficient for knowing if it is appropriate or not to show the
message, though. Often, a user's fingerprint won't be enrolled
in the system even if the machine has a fingerprint reader.

In this scenario, we end up in a situation where the code will
fade out the message right after fading it in, or worse, fade
out the message while fading it in.

The former case looks flickery and bad, and the latter case
causes the login dialog to lock up since it never completes its
"show prompt" animation and we don't procede with the login
process until after that animation.

If a user is enrolled in the system, the fingerprint pam module
tries to tell the user to swipe their finger.  We never show the
user that message because it's redundant with our own "(or swipe
finger)" message and because it uses techy words like "UPEK" and
"TouchStrip".

This commit changes the code to defer showing "(or swipe
finger)" until the fingerprint pam module forwards us its own
message. This makes it less likely we'll show the message when
fingerprint login won't work, and also removes the fingerprint
animation from the critical path "show prompt" animation.

https://bugzilla.gnome.org/show_bug.cgi?id=660492

15 years agolayoutManager: Ignore 1px overlap in _isAboveOrBelowPrimary()
Florian Müllner [Mon, 10 Oct 2011 17:21:18 +0000 (19:21 +0200)]
layoutManager: Ignore 1px overlap in _isAboveOrBelowPrimary()

Nvidia's twin view option does not align monitors properly, but with
a one pixel overlap. It looks safe to ignore an overlap this small
to make this case work.

https://bugzilla.gnome.org/show_bug.cgi?id=661387

15 years agoUpdated Hungarian translation
Gabor Kelemen [Tue, 11 Oct 2011 14:12:28 +0000 (16:12 +0200)]
Updated Hungarian translation

15 years ago*.[ch]: add emacs modeline to C files that were missing it
Dan Winship [Wed, 28 Sep 2011 13:22:13 +0000 (09:22 -0400)]
*.[ch]: add emacs modeline to C files that were missing it

(excluding files that are synced from another module)

https://bugzilla.gnome.org/show_bug.cgi?id=660358

15 years ago*.js: Make emacs modelines consistent
Dan Winship [Wed, 28 Sep 2011 13:16:26 +0000 (09:16 -0400)]
*.js: Make emacs modelines consistent

js2-mode is no longer developed and we recommend js-mode these days,
so switch the modelines to specify that, and make them consistent
across all files.

https://bugzilla.gnome.org/show_bug.cgi?id=660358

15 years agowindow-clone: Use ClutterClickAction
Florian Müllner [Wed, 21 Sep 2011 00:54:06 +0000 (02:54 +0200)]
window-clone: Use ClutterClickAction

Right-click menus in the dash can be dismissed by clicking anywhere
outside the menu. However, if a window clone is located beneath the
pointer when doing so, the window is activated and the overview
closed.
The cause of this unexpected behavior is that window previews are
activated on button-release, which is delivered to the preview after
the menu releases its grab on button-press. Use a ClutterClickAction
instead and let Clutter do the right thing, i.e. only trigger a
'clicked' signal when a button-release event is matched by a
corresponding button-press event.

https://bugzilla.gnome.org/show_bug.cgi?id=661151

15 years agoshell-util: Fix a bogus annotation
Jasper St. Pierre [Fri, 7 Oct 2011 21:36:46 +0000 (17:36 -0400)]
shell-util: Fix a bogus annotation

Creating a new instance is not (transfer none), unless I'm missing
somehting here...

https://bugzilla.gnome.org/show_bug.cgi?id=661231

15 years agoshell-util: Remove shell_util_icon_from_string
Jasper St. Pierre [Fri, 7 Oct 2011 21:35:38 +0000 (17:35 -0400)]
shell-util: Remove shell_util_icon_from_string

GJS doesn't need to be able to represent interfaces for you to be able to
access an interface method, so Gio.icon_new_for_string works fine.

https://bugzilla.gnome.org/show_bug.cgi?id=661231

15 years agoUpdated Telugu Translations
krishnababu k [Mon, 10 Oct 2011 11:23:43 +0000 (16:53 +0530)]
Updated Telugu Translations

15 years agoChange default of saved-im-presence to Offline
Guillaume Desmottes [Sat, 8 Oct 2011 21:31:05 +0000 (17:31 -0400)]
Change default of saved-im-presence to Offline

Unset is not a valid presence type so the Shell shouldn't try setting it when
starting for the first time.

https://bugzilla.gnome.org/show_bug.cgi?id=661272

15 years agoUpdated Lithuanian translation
Algimantas Margevičius [Sat, 8 Oct 2011 21:40:32 +0000 (00:40 +0300)]
Updated Lithuanian translation

15 years agoUpdated Latvian translation.
Rudolfs Mazurs [Sat, 8 Oct 2011 19:48:44 +0000 (22:48 +0300)]
Updated Latvian translation.

15 years ago[l10n] Updated German translation
Mario Blättermann [Sat, 8 Oct 2011 18:38:19 +0000 (20:38 +0200)]
[l10n] Updated German translation

15 years agoUpdated Russian translation
Yuri Myasoedov [Sat, 8 Oct 2011 07:34:28 +0000 (11:34 +0400)]
Updated Russian translation

15 years agoUpdated Dutch translation by Wouter Bolsterlee
Wouter Bolsterlee [Sat, 8 Oct 2011 00:04:37 +0000 (02:04 +0200)]
Updated Dutch translation by Wouter Bolsterlee

15 years agoAdd translator comment for button label
Wouter Bolsterlee [Fri, 7 Oct 2011 23:50:20 +0000 (01:50 +0200)]
Add translator comment for button label

15 years agomessageTray: Fix accidental typo
Jasper St. Pierre [Fri, 7 Oct 2011 20:22:08 +0000 (16:22 -0400)]
messageTray: Fix accidental typo

15 years agouser-menu: Restore previous session presence at startup
Florian Müllner [Thu, 6 Oct 2011 00:47:18 +0000 (02:47 +0200)]
user-menu: Restore previous session presence at startup

Save the session presence in GSettings and restore it on startup.

https://bugzilla.gnome.org/show_bug.cgi?id=659021

15 years agouser-menu: Restore previous IM presence on startup
Florian Müllner [Fri, 30 Sep 2011 16:54:45 +0000 (18:54 +0200)]
user-menu: Restore previous IM presence on startup

Move the saved user-set presence to GSettings, so it is preserved
between logins.

https://bugzilla.gnome.org/show_bug.cgi?id=659021

15 years agoUpdated Spanish translation
Jorge González [Thu, 6 Oct 2011 21:39:36 +0000 (23:39 +0200)]
Updated Spanish translation